package com.sc.nft.entity.vo;

import com.sc.nft.enums.SecondWantBuyOrderTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author 刘国航
 * @desc
 * @since 2024/12/20 20:25
 */
@Data
public class WantBuyOrderWebVO implements Serializable {

    private static final long serialVersionUID = -978634428457248637L;

    @ApiModelProperty("求购单类型")
    private SecondWantBuyOrderTypeEnum orderType;

    @ApiModelProperty("藏品id/道具id")
    private Long relationId;

    @ApiModelProperty("藏品名称/道具名称")
    private String relationName;

    @ApiModelProperty("求购数量")
    private Integer usableWantBuyQuantity;

    @ApiModelProperty("求购价格")
    private BigDecimal wantBuyPrice;

    @ApiModelProperty("手续费比例")
    private BigDecimal charge;

    @ApiModelProperty("最低手续费")
    private BigDecimal minCharge;

    @ApiModelProperty("上链费")
    private BigDecimal gas;

    @ApiModelProperty("是否生态藏品")
    private Boolean isEcology;

    @ApiModelProperty("是否在共识区 仅生态藏品")
    private Boolean isConsensus;

    @ApiModelProperty("共识度 仅生态藏品且在共识区")
    private BigDecimal consensusNum;

    @ApiModelProperty("是否持有")
    private Boolean isHold;

}
